package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserInterestsEntity;

import java.util.List;
import java.util.Map;

/**
* User: yujianfu
* Date: 2023-05-22
* Time: 10:46:07.412
*/

public interface UserInterestsDao  extends BaseMapper<UserInterestsEntity> {

    void deleteByUserCode(String userCode);

    int batchInsert(List<UserInterestsEntity> list);

    /**
     * @param params 查询用户参数
     * @return
     */
    List<UserInterestsEntity> queryUsers(String userCode);

    List<UserInterestsEntity> queryInterestsByUserCode(List<String> userCodes);
}